﻿using JSShop.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JSShop.Model
{
    [Serializable]
    public partial class vw_Hishop_BrowseProductList
    {
        public vw_Hishop_BrowseProductList()
        { }

        //ProductId,ProductName,ProductText,ProductCode,BrandName,ShowSaleCounts AS SaleCounts, ShortDescription,ThumbnailUrl40, ThumbnailUrl60,ThumbnailUrl100,ThumbnailUrl160,ThumbnailUrl180,ThumbnailUrl310,MarketPrice,SalePrice,Meta_Keywords,SkuId,Stock,MonthlySales,Review,CategoryUrl

        //Hishop_Products
        private int _categoryid;
        private int _productid;
        private string _productname;
        private string _producttext;
        private string _productcode;
        private int _showsalecounts = 0;
        private string _shortdescription;
        private string _thumbnailurl40;
        private string _thumbnailurl60;
        private string _thumbnailurl100;
        private string _thumbnailurl160;
        private string _thumbnailurl180;
        private string _thumbnailurl310;
        private string _thumbnailurl220;
        private decimal? _marketprice;
        private string _meta_keywords;
        private bool isfreeShipping;

        public bool IsfreeShipping
        {
            get { return isfreeShipping; }
            set { isfreeShipping = value; }
        }


        //Hishop_BrandCategories
        private string _brandname;

        //Hishop_SKU
        private decimal _saleprice;
        private string _skuid;
        private int _stock;

        //计算所得
        private int _monthlysales;
        private int _review;
        private string _categoryurl;

        public int CategoryId
        {
            get
            {
                return this._categoryid;
            }
            set
            {
                this._categoryid = value;
            }
        }

        public int ProductId
        {
            get
            {
                return _productid;
            }

            set
            {
                _productid = value;
            }
        }

        public string ProductName
        {
            get
            {
                return _productname;
            }

            set
            {
                _productname = value;
            }
        }

        public string ProductText
        {
            get
            {
                return _producttext;
            }

            set
            {
                _producttext = value;
            }
        }

        public string ProductCode
        {
            get
            {
                return _productcode;
            }

            set
            {
                _productcode = value;
            }
        }

        public int ShowSaleCounts
        {
            get
            {
                return _showsalecounts;
            }

            set
            {
                _showsalecounts = value;
            }
        }

        public string ShortDescription
        {
            get
            {
                return _shortdescription;
            }

            set
            {
                _shortdescription = value;
            }
        }

        public string ThumbnailUrl40
        {
            get
            {
                return _thumbnailurl40;
            }

            set
            {
                _thumbnailurl40 = value;
            }
        }

        public string ThumbnailUrl60
        {
            get
            {
                return _thumbnailurl60;
            }

            set
            {
                _thumbnailurl60 = value;
            }
        }

        public string ThumbnailUrl100
        {
            get
            {
                return _thumbnailurl100;
            }

            set
            {
                _thumbnailurl100 = value;
            }
        }

        public string ThumbnailUrl160
        {
            get
            {
                return _thumbnailurl160;
            }

            set
            {
                _thumbnailurl160 = value;
            }
        }

        public string ThumbnailUrl180
        {
            get
            {
                return _thumbnailurl180;
            }

            set
            {
                _thumbnailurl180 = value;
            }
        }

        public string ThumbnailUrl310
        {
            get
            {
                return _thumbnailurl310;
            }

            set
            {
                _thumbnailurl310 = value;
            }
        }
        public string ThumbnailUrl220
        {
            get
            {
                return _thumbnailurl220;
            }

            set
            {
                _thumbnailurl220 = value;
            }
        }
        public decimal? MarketPrice
        {
            get
            {
                return _marketprice;
            }

            set
            {
                _marketprice = value;
            }
        }

        public string Meta_KeyWords
        {
            get
            {
                return _meta_keywords;
            }

            set
            {
                _meta_keywords = value;
            }
        }

        public string BrandName
        {
            get
            {
                return _brandname;
            }

            set
            {
                _brandname = value;
            }
        }

        public decimal SalePrice
        {
            get
            {
                return _saleprice;
            }

            set
            {
                _saleprice = value;
            }
        }

        public string SkuId
        {
            get
            {
                return _skuid;
            }

            set
            {
                _skuid = value;
            }
        }

        public int Stock
        {
            get
            {
                return _stock;
            }

            set
            {
                _stock = value;
            }
        }

        public int MonthlySales
        {
            get
            {
                return _monthlysales;
            }

            set
            {
                _monthlysales = value;
            }
        }

        public int ReView
        {
            get
            {
                return _review;
            }

            set
            {
                _review = value;
            }
        }

        public string CategoryUrl
        {
            get
            {
                return _categoryurl;
            }

            set
            {
                _categoryurl = value;
            }
        }

        public ProductSaleStatus SaleStatus { get; set; }

        public string ImageUrl1 { get; set; }

        public string ImageUrl2 { get; set; }

        public string ImageUrl3 { get; set; }

        public string ImageUrl4 { get; set; }

        public string ImageUrl5 { get; set; }

        public string Title { get; set; }

        public string Meta_Description { get; set; }

        public string MainCategoryPath { get; set; }

        public int VistiCounts { get; set; }

        public string Description { get; set; }
        public bool IsFreight { get; set; }
        public int? CountDownId { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public string Content { get; set; }
        public int? cDisplaySequence { get; set; }
        public decimal? CountDownPrice { get; set; }
        public int? MaxCount { get; set; }
        public int BrandId { get; set; }
        public string MobbileDescription { get; set; }

        public string Times { get; set; }
    }
}
